import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import Mint from 'mint-ui'
// 导入swiper
import 'swiper/css/swiper.css'

import 'swiper/js/swiper.js'

import VueAwesomeSwiper from 'vue-awesome-swiper'

Vue.use(VueAwesomeSwiper)

 
// Vue.component(Swipe.name, Swipe);
// Vue.component(SwipeItem.name, SwipeItem);
// 这里可以省略node_modules这层目录
import 'mint-ui/lib/style.css'
// import { MessageBox } from "mint-ui";
// Vue.use(MessageBox)
import  './assets/mui/css/mui.css'
import mui from './assets/mui/js/mui.js'
Vue.prototype.mui = mui
// 静态icon
import './assets/css/icon.css'


// 异步请求
import axios from 'axios'
Vue.prototype.$axios=axios
axios.defaults.baseURL = 'https://api-hmugo-web.itheima.net/api/public/v1'


Vue.config.productionTip = false
Vue.use(Mint)



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
